<template>
  <div class="app-container">
    <el-row :gutter="20">
      <el-col :span="6" :xs="24">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span>个人信息</span>
          </div>
          <div>
            <div class="text-center">
              <userAvatar :user="user" />
            </div>
            <ul class="list-group list-group-striped">
              <li class="list-group-item">
                <svg-icon icon-class="user" />名称
                <div class="pull-right">jnner</div>
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="phone" />手机
                <div class="pull-right">13770320354</div>
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="email" />邮箱
                <div class="pull-right">693580029@qq.com</div>
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="tree" />QQ
                <div class="pull-right">693580029</div>
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="peoples" />微信
                <div class="pull-right">ergang1204</div>
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="date" />创建
                <div class="pull-right">2020-12-01</div>
              </li>
            </ul>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import userAvatar from "./userAvatar";

export default {
  name: "Profile",
  components: { userAvatar},
  data() {
    return {
      user: {},
      activeTab: "userinfo"
    };
  },
  created() {
    this.getUser();
  },
  methods: {
    getUser() {
    }
  }
};
</script>
